<?php /* Smarty version 2.6.20, created on 2017-05-07 10:11:58
         compiled from spot_list.htm */ ?>

<body>
<link type="text/css" href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/wap/new_css/gm_base.css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/wap/js/list/swiper.min.js"></script>
<header>
    <div class="header_top sys_header">
        <div class="st_back"><a href="javascript:;" onclick="javascript:history.go(-1);"></a></div>
        <h1 class="tit">演出场馆</h1>
        <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "detail_header.htm", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    </div>
</header>
  
  <!-- 分类 start -->
    <input type="hidden" name="attrid"/>
    <div class="m-class ">
      <div class="swiper-container lst swiper-container-horizontal swiper-container-free-mode">
        <div class="swiper-wrapper" id="swiper-wrapper">
            <a class="itm swiper-slide <?php if (empty ( $this->_tpl_vars['cat_id'] )): ?>swiper-slide-active on<?php endif; ?>" href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=spot&s=list" >全部</a>
            <?php $_from = $this->_tpl_vars['cat_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['vo']):
?>
            <a class="itm swiper-slide <?php if ($this->_tpl_vars['cat_id'] == $this->_tpl_vars['vo']['id']): ?>swiper-slide-active on<?php endif; ?>" href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=spot&s=list&cat_id=<?php echo $this->_tpl_vars['vo']['id']; ?>
" ><?php echo $this->_tpl_vars['vo']['cat_name']; ?>
</a>
            <?php endforeach; endif; unset($_from); ?>
        </div>
      </div>
    </div>
    <!-- 分类 end -->

    <div class="m-main">
<section class="main-xl">
<div class="change-type">
        <div class="fex">
        <!--list开始-->
            <?php $_from = $this->_tpl_vars['info']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['vo']):
?>
          <div class="pdt_list">
            <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=spot&s=detail&id=<?php echo $this->_tpl_vars['vo']['id']; ?>
">
              <div class="pdt_spotimg"><img src="<?php echo $this->_tpl_vars['vo']['picurl']; ?>
"  width="125" height="80"></div>
              <div class="pdt_txt">
                <div class="pdt_box">
                  <p class="p_tit">
                  <em><?php echo $this->_tpl_vars['vo']['spot_name']; ?>
</em>
                    <span><?php echo $this->_tpl_vars['vo']['tel']; ?>
</span>
                    <span><?php echo $this->_tpl_vars['vo']['address']; ?>
</span>
                  </p>
                </div>
              </div>
            </a>
          </div>
            <?php endforeach; endif; unset($_from); ?>
            <!--list结束-->
</div>
    <div class="page">
        <?php echo $this->_tpl_vars['info']['page']; ?>

    </div>
</div>
</section>
</div>
<script>
    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        slidesPerView: 'auto',
        paginationClickable: true,
        spaceBetween: 30
    });
</script>


